<template>
    <div>
        <el-form-item label="模块名称：">
            <el-input v-model="pageData.companyName" class="inputs" placeholder="请输入物联网模块的名称"></el-input>
            <span class="formItemsspan">*手动输入模块名称</span>
        </el-form-item>
    </div>
</template>
<script lang="ts" setup>
import { ref, reactive } from "vue";
import { useRouter } from "vue-router";
const router = useRouter();
const pageData: any = ref({});
interface Props {
    type?: string;
    icon?: boolean;
    pageTitle?: boolean;
}
const props = withDefaults(defineProps<Props>(), {
    // 默认2
    type: "2",
    icon: true,
    pageTitle: true,
});
const topages = (url: string) => {
    router.push(url);
};
</script>
<style lang="scss" scoped></style>
